
#include "Command.h"

using namespace npCommand;


Command::Command() // class inheritance
{
    //To initialize data member;
    this->receiver = nullptr;
}

Command::~Command()
{
    //To delete dynamic data member
}

Command::Command(const Command& cpy) // class inheritance
{
    //To copy data member
    this->receiver = cpy.receiver;
}

Command& Command::operator=(const Command& asn)
{
    if (this == &asn)
    {
        return *this;
    }
    else
    {
        //To invoke base class operator=
        
        //To assign data member, note to delete dynamic member if exists.
        this->receiver = asn.receiver;
        return *this;
    }
}

Command* Command::clone() const
{
    //return new
    return nullptr;
}

//other constructors

//public methods

//protected methods

//private methods
